package com.ruoyi.project.instrument.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 仪器报警信息记录对象 ins_alarm_record
 * 
 * @author taney
 * @date 2020-06-08
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("ins_alarm_record")
public class InsAlarmRecord implements Serializable {

private static final long serialVersionUID=1L;


    /** 自增ID */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 报警时间 */
    @Excel(name = "报警时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date alarmTime;

    /** 报警级别(1.info2.debug3.warn4.error) */
    @Excel(name = "报警级别")
    private String level;

    /** 错误码 */
    @Excel(name = "错误码")
    private Long code;

    /** 报警内容 */
    @Excel(name = "报警内容")
    private String cuowu;

    /** 其他 */
    @Excel(name = "其他")
    private Long cishu;
}
